<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <title>bn::unique_ptr class | Butano Docs</title>
  <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400i,600,600i%7CSource+Code+Pro:400,400i,600" />
  <link rel="stylesheet" href="m-dark+documentation.compiled.css" />
  <link rel="icon" href="favicon-dark.png" type="image/png" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <meta name="theme-color" content="#22272e" />
</head>
<body>
<header><nav id="navigation">
  <div class="m-container">
    <div class="m-row">
      <span id="m-navbar-brand" class="m-col-t-8 m-col-m-none m-left-m">
        <a href="https://github.com/GValiente/butano">Butano</a> <span class="m-breadcrumb">|</span> <a href="index.html" class="m-thin">Docs</a>
      </span>
      <div class="m-col-t-4 m-hide-m m-text-right m-nopadr">
        <a href="#search" class="m-doc-search-icon" title="Search" onclick="return showSearch()"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
          <path id="m-doc-search-icon-path" d="m6 0c-3.31 0-6 2.69-6 6 0 3.31 2.69 6 6 6 1.49 0 2.85-0.541 3.89-1.44-0.0164 0.338 0.147 0.759 0.5 1.15l3.22 3.79c0.552 0.614 1.45 0.665 2 0.115 0.55-0.55 0.499-1.45-0.115-2l-3.79-3.22c-0.392-0.353-0.812-0.515-1.15-0.5 0.895-1.05 1.44-2.41 1.44-3.89 0-3.31-2.69-6-6-6zm0 1.56a4.44 4.44 0 0 1 4.44 4.44 4.44 4.44 0 0 1-4.44 4.44 4.44 4.44 0 0 1-4.44-4.44 4.44 4.44 0 0 1 4.44-4.44z"/>
        </svg></a>
        <a id="m-navbar-show" href="#navigation" title="Show navigation"></a>
        <a id="m-navbar-hide" href="#" title="Hide navigation"></a>
      </div>
      <div id="m-navbar-collapse" class="m-col-t-12 m-show-m m-col-m-none m-right-m">
        <div class="m-row">
          <ol class="m-col-t-6 m-col-m-none">
            <li><a href="pages.html">Pages</a></li>
            <li><a href="modules.html">Modules</a></li>
          </ol>
          <ol class="m-col-t-6 m-col-m-none" start="3">
            <li><a href="namespaces.html">Namespaces</a></li>
            <li><a href="annotated.html">Classes</a></li>
            <li><a href="files.html">Files</a></li>
            <li class="m-show-m"><a href="#search" class="m-doc-search-icon" title="Search" onclick="return showSearch()"><svg style="height: 0.9rem;" viewBox="0 0 16 16">
              <use href="#m-doc-search-icon-path" />
            </svg></a></li>
          </ol>
        </div>
      </div>
    </div>
  </div>
</nav></header>
<main><article>
  <div class="m-container m-container-inflatable">
    <div class="m-row">
      <div class="m-col-l-10 m-push-l-1">
        <h1>
          <div class="m-doc-include m-code m-inverted m-right-m m-text-right"><span class="cp">#include</span> <a class="cpf" href="bn__unique__ptr_8h.html">&lt;bn_unique_ptr.h&gt;</a></div>
          <div class="m-doc-template">template&lt;typename Type, typename Deleter&gt;</div>
          <span class="m-breadcrumb"><a href="namespacebn.html">bn</a>::<wbr/></span>unique_ptr <span class="m-thin">class</span>
        </h1>
        <p><code>std::unique_ptr</code> like container.</p>
        <table class="m-table m-fullwidth m-flat">
          <thead>
            <tr><th colspan="2">Template parameters</th></tr>
          </thead>
          <tbody>
            <tr>
              <td style="width: 1%">Type</td>
              <td>Type of the managed object.</td>
            </tr>
            <tr>
              <td>Deleter</td>
              <td>Type of the object which disposes the managed object when the <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> goes out of scope.</td>
            </tr>
          </tbody>
        </table>
        <nav class="m-block m-default">
          <h3>Contents</h3>
          <ul>
            <li>
              Reference
              <ul>
                <li><a href="#pub-types">Public types</a></li>
                <li><a href="#typeless-methods">Constructors, destructors, conversion operators</a></li>
                <li><a href="#pub-methods">Public functions</a></li>
                <li><a href="#friends">Friends</a></li>
              </ul>
            </li>
          </ul>
        </nav>
<p>It doesn&#x27;t throw exceptions. Instead, asserts are used to ensure valid usage.</p><p>Unlike most Butano containers, it uses the heap instead of the stack.</p>
        <section id="pub-types">
          <h2><a href="#pub-types">Public types</a></h2>
          <dl class="m-doc">
            <dt id="a8247db8c03ec88146795173cea090d41">
              using <a href="#a8247db8c03ec88146795173cea090d41" class="m-doc-self">pointer</a> = Type*
            </dt>
            <dd>Pointer to the managed object type alias.</dd>
            <dt id="ada94e89630d762b61cf6a2fe86a86462">
              using <a href="#ada94e89630d762b61cf6a2fe86a86462" class="m-doc-self">reference</a> = Type&amp;
            </dt>
            <dd>Reference to the managed object type alias.</dd>
            <dt id="a395a65ee9270ddb57099d93316601658">
              using <a href="#a395a65ee9270ddb57099d93316601658" class="m-doc-self">element_type</a> = Type
            </dt>
            <dd>Managed object type alias.</dd>
            <dt id="a02cb80bca242749d0c33d35ed1133c6a">
              using <a href="#a02cb80bca242749d0c33d35ed1133c6a" class="m-doc-self">deleter_type</a> = Deleter
            </dt>
            <dd>Deleter type alias.</dd>
          </dl>
        </section>
        <section id="typeless-methods">
          <h2><a href="#typeless-methods">Constructors, destructors, conversion operators</a></h2>
          <dl class="m-doc">
            <dt id="a39645e5be92d49ba3fa8d6a4fb95d99a">
              <span class="m-doc-wrap-bumper"><a href="#a39645e5be92d49ba3fa8d6a4fb95d99a" class="m-doc-self">unique_ptr</a>(</span><span class="m-doc-wrap">nullptr_t) <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Nullptr constructor.</dd>
            <dt>
              <span class="m-doc-wrap-bumper"><a href="#a2e200953d6568b483111e83eea331667" class="m-doc">unique_ptr</a>(</span><span class="m-doc-wrap"><a href="#a8247db8c03ec88146795173cea090d41" class="m-doc">pointer</a> ptr) <span class="m-label m-flat m-info">explicit</span>  <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Constructor.</dd>
            <dt>
              <span class="m-doc-wrap-bumper"><a href="#a717c247d2b5fb787ee7f7c4bfd0126ed" class="m-doc">unique_ptr</a>(</span><span class="m-doc-wrap"><a href="#a8247db8c03ec88146795173cea090d41" class="m-doc">pointer</a> ptr,
              const Deleter&amp; deleter) <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Constructor.</dd>
            <dt>
              <span class="m-doc-wrap-bumper"><a href="#a15c23b1cd0bbaed047418bcf10801601" class="m-doc">unique_ptr</a>(</span><span class="m-doc-wrap"><a href="#a8247db8c03ec88146795173cea090d41" class="m-doc">pointer</a> ptr,
              Deleter&amp;&amp; deleter) <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Constructor.</dd>
            <dt>
              <span class="m-doc-wrap-bumper"><a href="#af32835db80150a1c749fe3f33c81f682" class="m-doc">unique_ptr</a>(</span><span class="m-doc-wrap"><a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp;&amp; other) <span class="m-label m-flat m-primary">constexpr</span> <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Move constructor.</dd>
            <dt>
              <div class="m-doc-template">template&lt;typename OtherType, typename OtherDeleter&gt;</div>
              <span class="m-doc-wrap-bumper"><a href="#a2ffc0a0a4727afe25712d78e9c6e1519" class="m-doc">unique_ptr</a>(</span><span class="m-doc-wrap"><a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&lt;OtherType, OtherDeleter&gt;&amp;&amp; other) <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Move constructor.</dd>
            <dt id="ae986d2d86f87471475fa1fca1d32eb21">
              <span class="m-doc-wrap-bumper"><a href="#ae986d2d86f87471475fa1fca1d32eb21" class="m-doc-self">~unique_ptr</a>(</span><span class="m-doc-wrap">) <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Class destructor, which disposes the managed object.</dd>
            <dt id="ab5cb1cc0ca8700e4b1dc44f6869ea5c5">
              <span class="m-doc-wrap-bumper"><a href="#ab5cb1cc0ca8700e4b1dc44f6869ea5c5" class="m-doc-self">operator bool</a>(</span><span class="m-doc-wrap">) const <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Indicates if it contains a managed object or not.</dd>
          </dl>
        </section>
        <section id="pub-methods">
          <h2><a href="#pub-methods">Public functions</a></h2>
          <dl class="m-doc">
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#aae51c4d24d8a8dcd5c7b9ae4a539c137" class="m-doc">operator=</a>(</span><span class="m-doc-wrap"><a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp;&amp; other) -&gt; <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; <span class="m-label m-flat m-primary">constexpr</span> <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Move assignment operator.</dd>
            <dt>
              <div class="m-doc-template">template&lt;typename OtherType, typename OtherDeleter&gt;</div>
              <span class="m-doc-wrap-bumper">auto <a href="#a951923b83db937c5af5a5a855b7e35ca" class="m-doc">operator=</a>(</span><span class="m-doc-wrap"><a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&lt;OtherType, OtherDeleter&gt;&amp;&amp; other) -&gt; <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Move assignment operator.</dd>
            <dt id="aeca443e83a10cc9dba05c44cd9f3de64">
              <span class="m-doc-wrap-bumper">auto <a href="#aeca443e83a10cc9dba05c44cd9f3de64" class="m-doc-self">operator=</a>(</span><span class="m-doc-wrap">nullptr_t) -&gt; <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; <span class="m-label m-flat m-primary">constexpr</span> <span class="m-label m-flat m-success">noexcept</span></span>
            </dt>
            <dd>Effectively the same as calling <a href="#a51077d0279075ab1058b6a5ced7eaf43" class="m-doc">reset()</a>.</dd>
            <dt id="a7e7e9e915ab42cd10bd4d3aa3fd5cd04">
              <span class="m-doc-wrap-bumper">auto <a href="#a7e7e9e915ab42cd10bd4d3aa3fd5cd04" class="m-doc-self">get</a>(</span><span class="m-doc-wrap">) const -&gt; const Type* <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns a const pointer to the managed object.</dd>
            <dt id="a13134d1e0e24b178fe370de3ba64a6f7">
              <span class="m-doc-wrap-bumper">auto <a href="#a13134d1e0e24b178fe370de3ba64a6f7" class="m-doc-self">get</a>(</span><span class="m-doc-wrap">) -&gt; <a href="#a8247db8c03ec88146795173cea090d41" class="m-doc">pointer</a> <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns a pointer to the managed object.</dd>
            <dt id="ac3b868c44d5c081c9768b2a922732aec">
              <span class="m-doc-wrap-bumper">auto <a href="#ac3b868c44d5c081c9768b2a922732aec" class="m-doc-self">get_deleter</a>(</span><span class="m-doc-wrap">) const -&gt; const Deleter&amp; <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns a const reference to the object which disposes the managed object when the <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> goes out of scope.</dd>
            <dt id="accff2d56be728a45a6824ea5f155a654">
              <span class="m-doc-wrap-bumper">auto <a href="#accff2d56be728a45a6824ea5f155a654" class="m-doc-self">get_deleter</a>(</span><span class="m-doc-wrap">) -&gt; Deleter&amp; <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns a reference to the object which disposes the managed object when the <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> goes out of scope.</dd>
            <dt id="ad2c3f1e9740a96f73436d811e98439d2">
              <span class="m-doc-wrap-bumper">auto <a href="#ad2c3f1e9740a96f73436d811e98439d2" class="m-doc-self">operator*</a>(</span><span class="m-doc-wrap">) const -&gt; const Type&amp; <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns a const reference to the managed object.</dd>
            <dt id="a135c37b8306bd16e700f1178b1748280">
              <span class="m-doc-wrap-bumper">auto <a href="#a135c37b8306bd16e700f1178b1748280" class="m-doc-self">operator*</a>(</span><span class="m-doc-wrap">) -&gt; <a href="#ada94e89630d762b61cf6a2fe86a86462" class="m-doc">reference</a> <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns a reference to the managed object.</dd>
            <dt id="a53305022a6ee94dc94f4a470d7c2dbd0">
              <span class="m-doc-wrap-bumper">auto <a href="#a53305022a6ee94dc94f4a470d7c2dbd0" class="m-doc-self">operator-&gt;</a>(</span><span class="m-doc-wrap">) const -&gt; const Type* <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns a const pointer to the managed object.</dd>
            <dt id="a36932dabd1e82935bd10236faafc615c">
              <span class="m-doc-wrap-bumper">auto <a href="#a36932dabd1e82935bd10236faafc615c" class="m-doc-self">operator-&gt;</a>(</span><span class="m-doc-wrap">) -&gt; <a href="#a8247db8c03ec88146795173cea090d41" class="m-doc">pointer</a> <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Returns a pointer to the managed object.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a5149aaabb94f21bdf6b9d00e41180067" class="m-doc">release</a>(</span><span class="m-doc-wrap">) -&gt; <a href="#a8247db8c03ec88146795173cea090d41" class="m-doc">pointer</a> <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Releases the ownership of the managed object.</dd>
            <dt id="a51077d0279075ab1058b6a5ced7eaf43">
              <span class="m-doc-wrap-bumper">void <a href="#a51077d0279075ab1058b6a5ced7eaf43" class="m-doc-self">reset</a>(</span><span class="m-doc-wrap">) <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Disposes the managed object.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">void <a href="#afb67877c98813c6809a52e692f5a6917" class="m-doc">reset</a>(</span><span class="m-doc-wrap"><a href="#a8247db8c03ec88146795173cea090d41" class="m-doc">pointer</a> ptr) <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Disposes the managed object and replaces it with the given one.</dd>
            <dt>
              <div class="m-doc-template">template&lt;typename OtherType&gt;</div>
              <span class="m-doc-wrap-bumper">void <a href="#a6ad81ddd35f486e232a787fbb1d97eb6" class="m-doc">reset</a>(</span><span class="m-doc-wrap">OtherType* ptr) <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Disposes the managed object and replaces it with the given one.</dd>
            <dt id="adec30282bb4e6ead67f09f02f70224e1">
              <span class="m-doc-wrap-bumper">void <a href="#adec30282bb4e6ead67f09f02f70224e1" class="m-doc-self">reset</a>(</span><span class="m-doc-wrap">nullptr_t) <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Disposes the managed object.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">void <a href="#a8eae4e5af243641b7e0419f16837f50f" class="m-doc">swap</a>(</span><span class="m-doc-wrap"><a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; other) <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Exchanges the contents of this <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> with those of the other one.</dd>
          </dl>
        </section>
        <section id="friends">
          <h2><a href="#friends">Friends</a></h2>
          <dl class="m-doc">
            <dt>
              <span class="m-doc-wrap-bumper">void <a href="#a1633530d55971728d8767cc9d89a0a4f" class="m-doc">swap</a>(</span><span class="m-doc-wrap"><a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; a,
              <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; b) <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Exchanges the contents of a <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> with those of another one.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a7e6bc387d84d9dc7cb96b789d4cc7fc9" class="m-doc">operator==</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; a,
              const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; b) -&gt; bool <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Equal operator.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a8f273f91562a488e7021fd033b2bae43" class="m-doc">operator!=</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; a,
              const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; b) -&gt; bool <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Not equal operator.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a9c4bc101eccf017e2884ee5442e38b54" class="m-doc">operator&lt;</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; a,
              const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; b) -&gt; bool <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Less than operator.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a52e35b71da0362bae5ef0320e87f3222" class="m-doc">operator&gt;</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; a,
              const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; b) -&gt; bool <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Greater than operator.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a2fc533b891ccf52ebb3dc00499cd1f6d" class="m-doc">operator&lt;=</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; a,
              const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; b) -&gt; bool <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Less than or equal operator.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a7e7dddb7a2d51837193ff246b13ac351" class="m-doc">operator&gt;=</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; a,
              const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; b) -&gt; bool <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Greater than or equal operator.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a366d260d88ede61d91b975d1f5f37333" class="m-doc">operator==</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; a,
              nullptr_t b) -&gt; bool <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Equal operator.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a8a6aab46c891ffc49a13bc9560c4b6b8" class="m-doc">operator!=</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; a,
              nullptr_t b) -&gt; bool <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Not equal operator.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a9af06035813acefa1b399c8bff103e21" class="m-doc">operator&lt;</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; a,
              nullptr_t b) -&gt; bool <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Less than operator.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#aae7d8cf9725b1fa9fc309501ef4a9ca9" class="m-doc">operator&gt;</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; a,
              nullptr_t b) -&gt; bool <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Greater than operator.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a1127503536ddef9c348711b4921130f7" class="m-doc">operator&lt;=</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; a,
              nullptr_t b) -&gt; bool <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Less than or equal operator.</dd>
            <dt>
              <span class="m-doc-wrap-bumper">auto <a href="#a62754d4e8e426abe2b30755242162b9f" class="m-doc">operator&gt;=</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; a,
              nullptr_t b) -&gt; bool <span class="m-label m-flat m-primary">constexpr</span></span>
            </dt>
            <dd>Greater than or equal than operator.</dd>
          </dl>
        </section>
        <section>
          <h2>Function documentation</h2>
          <section class="m-doc-details" id="a2e200953d6568b483111e83eea331667"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type, typename Deleter&gt;
              </div>
              <span class="m-doc-wrap-bumper"> bn::<wbr />unique_ptr&lt;Type, Deleter&gt;::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a2e200953d6568b483111e83eea331667" class="m-doc-self">unique_ptr</a>(</span><span class="m-doc-wrap"><a href="#a8247db8c03ec88146795173cea090d41" class="m-doc">pointer</a> ptr) <span class="m-label m-info">explicit</span>  <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Constructor.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">ptr</td>
                  <td>Pointer to the object to manage.</td>
                </tr>
              </tbody>
            </table>
          </div></section>
          <section class="m-doc-details" id="a717c247d2b5fb787ee7f7c4bfd0126ed"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type, typename Deleter&gt;
              </div>
              <span class="m-doc-wrap-bumper"> bn::<wbr />unique_ptr&lt;Type, Deleter&gt;::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a717c247d2b5fb787ee7f7c4bfd0126ed" class="m-doc-self">unique_ptr</a>(</span><span class="m-doc-wrap"><a href="#a8247db8c03ec88146795173cea090d41" class="m-doc">pointer</a> ptr,
              const Deleter&amp; deleter) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Constructor.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">ptr</td>
                  <td>Pointer to the object to manage.</td>
                </tr>
                <tr>
                  <td>deleter</td>
                  <td>Object which disposes the object to manage when the <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> goes out of scope.</td>
                </tr>
              </tbody>
            </table>
          </div></section>
          <section class="m-doc-details" id="a15c23b1cd0bbaed047418bcf10801601"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type, typename Deleter&gt;
              </div>
              <span class="m-doc-wrap-bumper"> bn::<wbr />unique_ptr&lt;Type, Deleter&gt;::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a15c23b1cd0bbaed047418bcf10801601" class="m-doc-self">unique_ptr</a>(</span><span class="m-doc-wrap"><a href="#a8247db8c03ec88146795173cea090d41" class="m-doc">pointer</a> ptr,
              Deleter&amp;&amp; deleter) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Constructor.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">ptr</td>
                  <td>Pointer to the object to manage.</td>
                </tr>
                <tr>
                  <td>deleter</td>
                  <td>Object which disposes the object to manage when the <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> goes out of scope.</td>
                </tr>
              </tbody>
            </table>
          </div></section>
          <section class="m-doc-details" id="af32835db80150a1c749fe3f33c81f682"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type, typename Deleter&gt;
              </div>
              <span class="m-doc-wrap-bumper"> bn::<wbr />unique_ptr&lt;Type, Deleter&gt;::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#af32835db80150a1c749fe3f33c81f682" class="m-doc-self">unique_ptr</a>(</span><span class="m-doc-wrap"><a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp;&amp; other) <span class="m-label m-primary">constexpr</span> <span class="m-label m-success">noexcept</span></span></span>
            </h3>
            <p>Move constructor.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">other</td>
                  <td><a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> object to move.</td>
                </tr>
              </tbody>
            </table>
          </div></section>
          <section class="m-doc-details" id="a2ffc0a0a4727afe25712d78e9c6e1519"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type, typename Deleter&gt;
                template&lt;typename OtherType, typename OtherDeleter&gt;
              </div>
              <span class="m-doc-wrap-bumper"> bn::<wbr />unique_ptr&lt;Type, Deleter&gt;::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a2ffc0a0a4727afe25712d78e9c6e1519" class="m-doc-self">unique_ptr</a>(</span><span class="m-doc-wrap"><a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&lt;OtherType, OtherDeleter&gt;&amp;&amp; other) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Move constructor.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">other</td>
                  <td><a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> object to move with different type and deleter.</td>
                </tr>
              </tbody>
            </table>
          </div></section>
          <section class="m-doc-details" id="aae51c4d24d8a8dcd5c7b9ae4a539c137"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type, typename Deleter&gt;
              </div>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; bn::<wbr />unique_ptr&lt;Type, Deleter&gt;::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#aae51c4d24d8a8dcd5c7b9ae4a539c137" class="m-doc-self">operator=</a>(</span><span class="m-doc-wrap"><a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp;&amp; other) <span class="m-label m-primary">constexpr</span> <span class="m-label m-success">noexcept</span></span></span>
            </h3>
            <p>Move assignment operator.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">other</td>
                  <td><a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> object to move.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a951923b83db937c5af5a5a855b7e35ca"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type, typename Deleter&gt;
                template&lt;typename OtherType, typename OtherDeleter&gt;
              </div>
              <span class="m-doc-wrap-bumper"><a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; bn::<wbr />unique_ptr&lt;Type, Deleter&gt;::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a951923b83db937c5af5a5a855b7e35ca" class="m-doc-self">operator=</a>(</span><span class="m-doc-wrap"><a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&lt;OtherType, OtherDeleter&gt;&amp;&amp; other) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Move assignment operator.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">other</td>
                  <td><a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> object to move with different type and deleter.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td>Reference to this.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a5149aaabb94f21bdf6b9d00e41180067"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type, typename Deleter&gt;
              </div>
              <span class="m-doc-wrap-bumper"><a href="#a8247db8c03ec88146795173cea090d41" class="m-doc">pointer</a> bn::<wbr />unique_ptr&lt;Type, Deleter&gt;::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a5149aaabb94f21bdf6b9d00e41180067" class="m-doc-self">release</a>(</span><span class="m-doc-wrap">) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Releases the ownership of the managed object.</p>
            <table class="m-table m-fullwidth m-flat">
              <tfoot>
                <tr>
                  <th style="width: 1%">Returns</th>
                  <td>Pointer to the released object.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="afb67877c98813c6809a52e692f5a6917"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type, typename Deleter&gt;
              </div>
              <span class="m-doc-wrap-bumper">void bn::<wbr />unique_ptr&lt;Type, Deleter&gt;::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#afb67877c98813c6809a52e692f5a6917" class="m-doc-self">reset</a>(</span><span class="m-doc-wrap"><a href="#a8247db8c03ec88146795173cea090d41" class="m-doc">pointer</a> ptr) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Disposes the managed object and replaces it with the given one.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">ptr</td>
                  <td>Pointer to the new object to manage.</td>
                </tr>
              </tbody>
            </table>
          </div></section>
          <section class="m-doc-details" id="a6ad81ddd35f486e232a787fbb1d97eb6"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type, typename Deleter&gt;
                template&lt;typename OtherType&gt;
              </div>
              <span class="m-doc-wrap-bumper">void bn::<wbr />unique_ptr&lt;Type, Deleter&gt;::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a6ad81ddd35f486e232a787fbb1d97eb6" class="m-doc-self">reset</a>(</span><span class="m-doc-wrap">OtherType* ptr) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Disposes the managed object and replaces it with the given one.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">ptr</td>
                  <td>Pointer to the new object to manage with different type.</td>
                </tr>
              </tbody>
            </table>
          </div></section>
          <section class="m-doc-details" id="a8eae4e5af243641b7e0419f16837f50f"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type, typename Deleter&gt;
              </div>
              <span class="m-doc-wrap-bumper">void bn::<wbr />unique_ptr&lt;Type, Deleter&gt;::<wbr /></span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a8eae4e5af243641b7e0419f16837f50f" class="m-doc-self">swap</a>(</span><span class="m-doc-wrap"><a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; other) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Exchanges the contents of this <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> with those of the other one.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">other</td>
                  <td><a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> to exchange the contents with.</td>
                </tr>
              </tbody>
            </table>
          </div></section>
          <section class="m-doc-details" id="a1633530d55971728d8767cc9d89a0a4f"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type, typename Deleter&gt;
              </div>
              <span class="m-doc-wrap-bumper">void </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a1633530d55971728d8767cc9d89a0a4f" class="m-doc-self">swap</a>(</span><span class="m-doc-wrap"><a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; a,
              <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; b) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Exchanges the contents of a <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> with those of another one.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">a</td>
                  <td>First <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> to exchange the contents with.</td>
                </tr>
                <tr>
                  <td>b</td>
                  <td>Second <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> to exchange the contents with.</td>
                </tr>
              </tbody>
            </table>
          </div></section>
          <section class="m-doc-details" id="a7e6bc387d84d9dc7cb96b789d4cc7fc9"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type, typename Deleter&gt;
              </div>
              <span class="m-doc-wrap-bumper">bool </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a7e6bc387d84d9dc7cb96b789d4cc7fc9" class="m-doc-self">operator==</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; a,
              const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; b) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Equal operator.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">a</td>
                  <td>First <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> to compare.</td>
                </tr>
                <tr>
                  <td>b</td>
                  <td>Second <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> to compare.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td><code>true</code> if the first managed object is equal to the second one, otherwise <code>false</code>.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a8f273f91562a488e7021fd033b2bae43"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type, typename Deleter&gt;
              </div>
              <span class="m-doc-wrap-bumper">bool </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a8f273f91562a488e7021fd033b2bae43" class="m-doc-self">operator!=</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; a,
              const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; b) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Not equal operator.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">a</td>
                  <td>First <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> to compare.</td>
                </tr>
                <tr>
                  <td>b</td>
                  <td>Second <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> to compare.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td><code>true</code> if the first managed object is not equal to the second one, otherwise <code>false</code>.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a9c4bc101eccf017e2884ee5442e38b54"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type, typename Deleter&gt;
              </div>
              <span class="m-doc-wrap-bumper">bool </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a9c4bc101eccf017e2884ee5442e38b54" class="m-doc-self">operator&lt;</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; a,
              const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; b) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Less than operator.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">a</td>
                  <td>First <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> to compare.</td>
                </tr>
                <tr>
                  <td>b</td>
                  <td>Second <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> to compare.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td><code>true</code> if the first managed object is lexicographically less than the second one, otherwise <code>false</code>.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a52e35b71da0362bae5ef0320e87f3222"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type, typename Deleter&gt;
              </div>
              <span class="m-doc-wrap-bumper">bool </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a52e35b71da0362bae5ef0320e87f3222" class="m-doc-self">operator&gt;</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; a,
              const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; b) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Greater than operator.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">a</td>
                  <td>First <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> to compare.</td>
                </tr>
                <tr>
                  <td>b</td>
                  <td>Second <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> to compare.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td><code>true</code> if the first managed object is lexicographically greater than the second one, otherwise <code>false</code>.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a2fc533b891ccf52ebb3dc00499cd1f6d"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type, typename Deleter&gt;
              </div>
              <span class="m-doc-wrap-bumper">bool </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a2fc533b891ccf52ebb3dc00499cd1f6d" class="m-doc-self">operator&lt;=</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; a,
              const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; b) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Less than or equal operator.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">a</td>
                  <td>First <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> to compare.</td>
                </tr>
                <tr>
                  <td>b</td>
                  <td>Second <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> to compare.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td><code>true</code> if the first managed object is lexicographically less than or equal to the second one, otherwise <code>false</code>.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a7e7dddb7a2d51837193ff246b13ac351"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type, typename Deleter&gt;
              </div>
              <span class="m-doc-wrap-bumper">bool </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a7e7dddb7a2d51837193ff246b13ac351" class="m-doc-self">operator&gt;=</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; a,
              const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; b) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Greater than or equal operator.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">a</td>
                  <td>First <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> to compare.</td>
                </tr>
                <tr>
                  <td>b</td>
                  <td>Second <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> to compare.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td><code>true</code> if the first managed object is lexicographically greater than or equal to the second one, otherwise <code>false</code>.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a366d260d88ede61d91b975d1f5f37333"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type, typename Deleter&gt;
              </div>
              <span class="m-doc-wrap-bumper">bool </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a366d260d88ede61d91b975d1f5f37333" class="m-doc-self">operator==</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; a,
              nullptr_t b) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Equal operator.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">a</td>
                  <td><a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> to compare.</td>
                </tr>
                <tr>
                  <td>b</td>
                  <td>Null pointer to compare.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td><code>true</code> if the <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> does not have a managed object, otherwise <code>false</code>.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a8a6aab46c891ffc49a13bc9560c4b6b8"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type, typename Deleter&gt;
              </div>
              <span class="m-doc-wrap-bumper">bool </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a8a6aab46c891ffc49a13bc9560c4b6b8" class="m-doc-self">operator!=</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; a,
              nullptr_t b) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Not equal operator.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">a</td>
                  <td><a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> to compare.</td>
                </tr>
                <tr>
                  <td>b</td>
                  <td>Null pointer to compare.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td><code>true</code> if the <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> has a managed object, otherwise <code>false</code>.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a9af06035813acefa1b399c8bff103e21"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type, typename Deleter&gt;
              </div>
              <span class="m-doc-wrap-bumper">bool </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a9af06035813acefa1b399c8bff103e21" class="m-doc-self">operator&lt;</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; a,
              nullptr_t b) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Less than operator.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">a</td>
                  <td><a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> to compare.</td>
                </tr>
                <tr>
                  <td>b</td>
                  <td>Null pointer to compare.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td><code>false</code>.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="aae7d8cf9725b1fa9fc309501ef4a9ca9"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type, typename Deleter&gt;
              </div>
              <span class="m-doc-wrap-bumper">bool </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#aae7d8cf9725b1fa9fc309501ef4a9ca9" class="m-doc-self">operator&gt;</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; a,
              nullptr_t b) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Greater than operator.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">a</td>
                  <td><a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> to compare.</td>
                </tr>
                <tr>
                  <td>b</td>
                  <td>Null pointer to compare.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td><code>true</code> if the <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> has a managed object, otherwise <code>false</code>.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a1127503536ddef9c348711b4921130f7"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type, typename Deleter&gt;
              </div>
              <span class="m-doc-wrap-bumper">bool </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a1127503536ddef9c348711b4921130f7" class="m-doc-self">operator&lt;=</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; a,
              nullptr_t b) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Less than or equal operator.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">a</td>
                  <td><a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> to compare.</td>
                </tr>
                <tr>
                  <td>b</td>
                  <td>Null pointer to compare.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td><code>true</code> if the <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> does not have a managed object, otherwise <code>false</code>.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
          <section class="m-doc-details" id="a62754d4e8e426abe2b30755242162b9f"><div>
            <h3>
              <div class="m-doc-template">
                template&lt;typename Type, typename Deleter&gt;
              </div>
              <span class="m-doc-wrap-bumper">bool </span><span class="m-doc-wrap"><span class="m-doc-wrap-bumper"><a href="#a62754d4e8e426abe2b30755242162b9f" class="m-doc-self">operator&gt;=</a>(</span><span class="m-doc-wrap">const <a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a>&amp; a,
              nullptr_t b) <span class="m-label m-primary">constexpr</span></span></span>
            </h3>
            <p>Greater than or equal than operator.</p>
            <table class="m-table m-fullwidth m-flat">
              <thead>
                <tr><th colspan="2">Parameters</th></tr>
              </thead>
              <tbody>
                <tr>
                  <td style="width: 1%">a</td>
                  <td><a href="classbn_1_1unique__ptr.html" class="m-doc">unique_<wbr />ptr</a> to compare.</td>
                </tr>
                <tr>
                  <td>b</td>
                  <td>Null pointer to compare.</td>
                </tr>
              </tbody>
              <tfoot>
                <tr>
                  <th>Returns</th>
                  <td><code>true</code>.</td>
                </tr>
              </tfoot>
            </table>
          </div></section>
        </section>
      </div>
    </div>
  </div>
</article></main>
<div class="m-doc-search" id="search">
  <a href="#!" onclick="return hideSearch()"></a>
  <div class="m-container">
    <div class="m-row">
      <div class="m-col-m-8 m-push-m-2">
        <div class="m-doc-search-header m-text m-small">
          <div><span class="m-label m-default">Tab</span> / <span class="m-label m-default">T</span> to search, <span class="m-label m-default">Esc</span> to close</div>
          <div id="search-symbolcount">&hellip;</div>
        </div>
        <div class="m-doc-search-content">
          <form>
            <input type="search" name="q" id="search-input" placeholder="Loading &hellip;" disabled="disabled" autofocus="autofocus" autocomplete="off" spellcheck="false" />
          </form>
          <noscript class="m-text m-danger m-text-center">Unlike everything else in the docs, the search functionality <em>requires</em> JavaScript.</noscript>
          <div id="search-help" class="m-text m-dim m-text-center">
            <p class="m-noindent">Search for symbols, directories, files, pages or
            modules. You can omit any prefix from the symbol or file path; adding a
            <code>:</code> or <code>/</code> suffix lists all members of given symbol or
            directory.</p>
            <p class="m-noindent">Use <span class="m-label m-dim">&darr;</span>
            / <span class="m-label m-dim">&uarr;</span> to navigate through the list,
            <span class="m-label m-dim">Enter</span> to go.
            <span class="m-label m-dim">Tab</span> autocompletes common prefix, you can
            copy a link to the result using <span class="m-label m-dim">⌘</span>
            <span class="m-label m-dim">L</span> while <span class="m-label m-dim">⌘</span>
            <span class="m-label m-dim">M</span> produces a Markdown link.</p>
          </div>
          <div id="search-notfound" class="m-text m-warning m-text-center">Sorry, nothing was found.</div>
          <ul id="search-results"></ul>
        </div>
      </div>
    </div>
  </div>
</div>
<script src="search-v2.js"></script>
<script src="searchdata-v2.js" async="async"></script>
<footer><nav>
  <div class="m-container">
    <div class="m-row">
      <div class="m-col-l-10 m-push-l-1">
        <p>Butano Docs. Created with <a href="https://doxygen.org/">Doxygen</a> 1.14.0 and <a href="https://mcss.mosra.cz/">m.css</a>.</p>
      </div>
    </div>
  </div>
</nav></footer>
</body>
</html>
